package com.maxdu.labs.stt.fragments;

import java.util.Arrays;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.stt.R;
import com.facebook.widget.LoginButton;

public class SplashFragment extends Fragment {

	@Override
	public View onCreateView(LayoutInflater inflater,
			@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.splash, 
	            container, false);
		LoginButton authButton = (LoginButton) view.findViewById(R.id.login_button);
		authButton.setReadPermissions(Arrays.asList("user_friends"));
		
	    return view;
	}

}
